package com.cma.cmabackend.controller;

import com.cma.cmabackend.entity.re.ReStandardPara;
import com.cma.cmabackend.service.StandardService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/standard")
public class StandardController {
    @Resource
    StandardService standardService;

    @GetMapping("/getpara")
    public ReStandardPara getStandardParaById(Integer id) {
        return standardService.getPara(id);
    }
}
